import { createApp } from 'vue'
import App from './App.vue'

import './styles/index.css'
/* import the fontawesome core */
import { library } from '@fortawesome/fontawesome-svg-core'
// 比如要使用 faUserSecret
// import { faUserSecret } from '@fortawesome/free-solid-svg-icons'
// fas表示引用所有的图标
import { fas } from '@fortawesome/free-solid-svg-icons'

import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import testPlugin from './test.plugin'

/* add icons to the library */
library.add(fas)

createApp(App).use(testPlugin).mount('#app')
